package org.lys.web.simpletag;

import java.io.IOException;
import java.io.StringWriter;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.JspFragment;
import javax.servlet.jsp.tagext.SimpleTagSupport;
/**
 * @Description:修改标签内容
 * @Copyright: 福州骏华信息有限公司 (c)2013
 * @Created Date : 2013-4-6
 * @Author lys
 */
public class SimpleTagDemo3 extends SimpleTagSupport {

	@Override
	public void doTag() throws JspException, IOException {
		JspFragment  jf = this.getJspBody();
		StringWriter sw = new StringWriter();
		jf.invoke(sw);
		
		String content = sw.toString();
		
		this.getJspContext().getOut().append(content+"lys");
	}


	
}
